# -*- coding: utf-8 -*-

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html

from __future__ import absolute_import
from __future__ import division     
from __future__ import print_function

import sys
from imp import reload
reload(sys)
# sys.setdefaultencoding('utf-8')

import pymysql
from pymysql import connections
from Gavbus_baike import settings

class GavbusBaikePipeline(object):
    def _init_(self):
        self.conn = pymysql.connect(
            host=
        )
    def process_item(self, item, spider):
        return item
